<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/18 0018
  Time: 上午 9:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page language="java" %>
<%@ page isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
    String path = request.getContextPath();
%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>消息列表</title>
    <link rel="stylesheet" type="text/css" href="<%=path %>/CSS/backMange.css">
    <!-- css资源 -->
    <link rel="stylesheet" type="text/css" href="<%=path %>/easyUI1.4.1/themes/default/easyui.css">
    <!-- 图标资源 -->
    <link rel="stylesheet" type="text/css" href="<%=path %>/easyUI1.4.1/themes/icon.css">
    <style type="text/css">
        .setFont .textbox .textbox-text{font-size: 15px;padding-left:20px;padding-top:1px;height:30px}/* 微调器字体样式 */
        .datagrid-cell{font-size: 14px}
        .datagrid-cell,
        .datagrid-cell-group,
        .datagrid-header-rownumber,
        .datagrid-cell-rownumber {font-size: 14px;}
        .datagrid-header .datagrid-cell span {font-size: 14px;}
        .seachform li{float:left; margin-right:15px;}
        .scinput1{width:150px; height:26px; border:solid 1px #ced9df;background-color: white;}
        input[type="text"] {background-color: #fff;border-top: solid 1px #a7b5bc;
            border-left: solid 1px #a7b5bc;
            border-right: solid 1px #ced9df;
            border-bottom: solid 1px #ced9df;
            width: 99.3%;
            height: 30px;
        }
        ul{display:block;margin:0;padding:0;list-style:none;}
        li{display:block;margin:0;padding:0;list-style: none;}
        #tt td{text-align: left;height: 50px;width: 150px;padding-left: 30px}
        #tt {border-spacing: 0px;width: 350px;}
        #tt  th{text-align:left ;border-bottom: 1px solid #cccccc}
    </style>
    <script type="text/javascript" src="<%=path%>/JQuery/jquery-1.8.2.js"></script>
    <script type="text/javascript" src="<%=path %>/easyUI1.4.1/jquery.min.js"></script>
    <!--EasyUI的js包 -->
    <script type="text/javascript"
            src="<%=path %>/easyUI1.4.1/jquery.easyui.min.js"></script>
    <!-- 本地语言 -->
    <script type="text/javascript"
            src="<%=path %>/easyUI1.4.1/locale/easyui-lang-zh_CN.js"></script>
    <%@ include file="/WEB-INF/JSP/ajax.jsp"%>
    <script type="text/javascript">

        //IE不支持console对象，此代码仅为测试使用
        ///////////////////////////////////////
        window.console = window.console || (function () {
            var c = {}; c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile
                = c.clear = c.exception = c.trace = c.assert = function () { };
            return c;
        })();



    </script>
</head>
<body>
<div class="datagrid-wrap panel-body panel-body-noheader" style="width: auto;min-height: 700px">
    <c:if test="${flag eq 1}">
        <c:if test="${type eq 'exitClazz'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th field="name1">退学申请 > 修改经办人</th>
                        <th style="height: 40px;"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" type="text">
                            <input type="hidden" name="parentid" value="${parentId}">
                        </td>
                    </tr>
                    <tr>
                        <td>营销部审批经办人</td>
                        <td>
                            <input name="yxAssignee" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>教务审批经办人</td>
                        <td>
                            <input name="jwAssignee" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>财务主管审批经办人</td>
                        <td>
                            <input name="cwzgAssignee" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'fileAndSkill'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目一技能,档案交接 > </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" type="text" value="${list.kwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'carmainTain'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">车辆维修 > 修改经办人 </th>
                        <th style="height: 40px;"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>机务审批经办人</td>
                        <td>
                            <input name="gwAssignee" type="text" value="${list.gwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>行政审批经办人</td>
                        <td>
                            <input name="xzeAssignee" value="${list.xzeAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>教务审批经办人</td>
                        <td>
                            <input name="jwAssignee" value="${list.jwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考场审批经办人</td>
                        <td>
                            <input name="kcAssignee" value="${list.kcAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>营销部审批经办人</td>
                        <td>
                            <input name="yxAssignee" value="${list.yxAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectThreeAllotCar'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目三分车 > 修改经办人 </th>
                        <th style="height: 40px;"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>教务审批经办人</td>
                        <td>
                            <input name="jwAssignee" type="text" value="${list.jwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" value="${list.kfAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectTwoAllotCat'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目二分车 > 修改经办人 </th>
                        <th style="height: 40px;"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>教务审批经办人</td>
                        <td>
                            <input name="jwAssignee" type="text" value="${list.jwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" value="${list.kfAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectOneReg'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目一结果登记 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" type="text" value="${list.kfAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" value="${list.kwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectTwoReg'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目二结果登记 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" type="text" value="${list.kfAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" value="${list.kwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectThreeReg'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目三结果登记 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" type="text" value="${list.kfAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" value="${list.kwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'addMaintainItem'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">增加维修项目 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>机务审批经办人</td>
                        <td>
                            <input name="gwAssignee" value="${list.gwAssignee}" type="text">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>常务校长审批经办人</td>
                        <td>
                            <input name="cwxzAssignee" value="${list.cwxzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'modifyMaintainItem'}">
            <form action="saveAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">修改维修项目 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>机务审批经办人</td>
                        <td>
                            <input name="gwAssignee" value="${list.gwAssignee}" type="text">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>常务校长审批经办人</td>
                        <td>
                            <input name="cwxzAssignee" value="${list.cwxzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>
    </c:if>
    <c:if test="${flag eq 2}">

        <c:if test="${type eq 'exitClazz'}">
        <form action="updateAssginee" method="post">
            <table id="tt">
                <thead>
                <tr>
                    <th style="padding-left: 30px" field="name1">退学申请 > 修改经办人</th>
                    <th style="height: 40px;"></th>
                    <th></th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>客服审批经办人</td>
                    <td>
                        <input name="kfAssignee" type="text" value="${list.kfAssignee}">
                        <input type="hidden" name="parentid" value="${parentId}">
                        <input type="hidden" name="fid" value="${list.fid}">
                    </td>
                </tr>
                <tr>
                    <td>营销部审批经办人</td>
                    <td>
                        <input name="yxAssignee" value="${list.yxAssignee}" type="text">
                    </td>
                </tr>
                <tr>
                    <td>考务审批经办人</td>
                    <td>
                        <input name="kwAssignee" value="${list.kwAssignee}" type="text">
                    </td>
                </tr>
                <tr>
                    <td>教务审批经办人</td>
                    <td>
                        <input name="jwAssignee" value="${list.jwAssignee}" type="text">
                    </td>
                </tr>
                <tr>
                    <td>财务审批经办人</td>
                    <td>
                        <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                    </td>
                </tr>
                <tr>
                    <td>财务主管审批经办人</td>
                    <td>
                        <input name="cwzgAssignee" value="${list.cwzgAssignee}" type="text">
                    </td>
                </tr>
                <tr>
                    <td>校长审批经办人</td>
                    <td>
                        <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                    </td>
                </tr>
                <tr style="height: 50px">
                    <td>
                        <input type="submit" value="确定"
                               style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                    </td>
                    <td >
                        <input type="button" value="取消"
                               onclick="backProcee()"
                               style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                    </td>
                </tr>
                </tbody>
            </table>
        </form>
        </c:if>

        <c:if test="${type eq 'fileAndSkill'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目一技能,档案交接 > </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" type="text" value="${list.kwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'carmainTain'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">车辆维修 > 修改经办人 </th>
                        <th style="height: 40px;"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>机务审批经办人</td>
                        <td>
                            <input name="gwAssignee" type="text" value="${list.gwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>行政审批经办人</td>
                        <td>
                            <input name="xzeAssignee" value="${list.xzeAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>教务审批经办人</td>
                        <td>
                            <input name="jwAssignee" value="${list.jwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考场审批经办人</td>
                        <td>
                            <input name="kcAssignee" value="${list.kcAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>营销部审批经办人</td>
                        <td>
                            <input name="yxAssignee" value="${list.yxAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectThreeAllotCar'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目三分车 > 修改经办人 </th>
                        <th style="height: 40px;"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>教务审批经办人</td>
                        <td>
                            <input name="jwAssignee" type="text" value="${list.jwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" value="${list.kfAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectTwoAllotCat'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目二分车 > 修改经办人 </th>
                        <th style="height: 40px;"></th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>教务审批经办人</td>
                        <td>
                            <input name="jwAssignee" type="text" value="${list.jwAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" value="${list.kfAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectOneReg'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目一结果登记 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" type="text" value="${list.kfAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" value="${list.kwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectTwoReg'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目二结果登记 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" type="text" value="${list.kfAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" value="${list.kwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'subjectThreeReg'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">科目三结果登记 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>客服审批经办人</td>
                        <td>
                            <input name="kfAssignee" type="text" value="${list.kfAssignee}">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>财务审批经办人</td>
                        <td>
                            <input name="cwAssignee" value="${list.cwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>考务审批经办人</td>
                        <td>
                            <input name="kwAssignee" value="${list.kwAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'addMaintainItem'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">增加维修项目 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>机务审批经办人</td>
                        <td>
                            <input name="gwAssignee" value="${list.gwAssignee}" type="text">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>常务校长审批经办人</td>
                        <td>
                            <input name="cwxzAssignee" value="${list.cwxzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

        <c:if test="${type eq 'modifyMaintainItem'}">
            <form action="updateAssginee" method="post">
                <table id="tt">
                    <thead>
                    <tr>
                        <th style="padding-left: 30px"  field="name1">修改维修项目 >  </th>
                        <th style="height: 40px;">修改经办人</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>机务审批经办人</td>
                        <td>
                            <input name="gwAssignee" value="${list.gwAssignee}" type="text">
                            <input type="hidden" name="parentid" value="${parentId}">
                            <input type="hidden" name="fid" value="${list.fid}">
                        </td>
                    </tr>
                    <tr>
                        <td>校长审批经办人</td>
                        <td>
                            <input name="xzAssignee" value="${list.xzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr>
                        <td>常务校长审批经办人</td>
                        <td>
                            <input name="cwxzAssignee" value="${list.cwxzAssignee}" type="text">
                        </td>
                    </tr>
                    <tr style="height: 50px">
                        <td>
                            <input type="submit" value="确定"
                                   style="margin-left: 0px;cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                        <td >
                            <input type="button" value="取消"
                                   onclick="backProcee()"
                                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px;outline: 0">
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </c:if>

    </c:if>
</div>

<div id="ajaxJSP_company_window_div1" class="easyui-window user_set_windows" title="选择人员"
     data-options="modal:true,closed:true,collapsible:false,minimizable:false,maximizable:false,iconCls:'icon-save',top:120,
				onClose: function () {
						document.body.style.overflow = 'visible'; //显示滚动条
				}"
     style="width:500px;height:270px;display:none">
    <div style="height:268px;width:488px">
        <table id="ajaxJSP_company_list_table1"toolbar="#ajaxJSP_company_bar1">
        </table>
        <div id="ajaxJSP_company_bar1"style="background-color: #f5f5f5;padding:5px 10px">
            <label style="margin:5px 5px 0 10px ;font-size:14px;float:left">姓名：</label>
            <input type="text" class="easyui-validatebox" placeholder="姓名" id="name_id"
                   style="width:80px;height:27px;margin-right:20px;border: none;padding: 0"/>
            <label style="margin:5px 5px 0 10px ;font-size:14px;float:left">公司名称：</label>
            <input type="text" class="easyui-validatebox" placeholder="请输入公司名称" id="company_id"
                   style="width:80px;height:27px;margin-right:20px;border: none;padding: 0"/>
            <input type="button" value="立即搜索" onclick="ajaxJSP_CompanyPage2()"
                   style="cursor:pointer;background-color: #54a0ff;border: none;color: #fff;border-radius:20px;padding:5px 20px;width: 100px;height: 27px"/>
        </div>
    </div>
</div>
<div id="activiti_img_set_window_div1" class="hide"
     style="width:900px;height:600px;overflow: scroll;">
</div>

</body>

</html>
<script>

    function backProcee() {
        location.href ='<%=path%>/DrivingSys/selProcessByCompany'+"${company}"+'/look.action'
    }

    $(document).ready(function () {
        $('.datagrid-wrap input[type=text]').click(function () {
            var _this = $(this)[0]
            ajaxJSP_searchCompany1(_this)
        })


        //打开公司搜索窗口
        function ajaxJSP_searchCompany1(_this){
            document.body.style.overflow = "hidden"; //隐藏滚动条
            //清除用户checked项
            //$('#ajaxJSP_company_list_table').datagrid('clearSelections');
            $("#ajaxJSP_company_window_div1").attr("style","width:500px;height:270px;");
            $('#ajaxJSP_company_window_div1').window('open');
            //解决滚动条导致的弹窗错位问题
            $('#ajaxJSP_company_window_div1').window('center');
            ajaxJSP_CompanyPage1(_this);
        }
        function ajaxJSP_CompanyPage1(_this){
            var $this = $(_this)
            var users = ""
            if(right_company_flag){
                var patrn=/[!#@$%^&*()_+<>?:"{},\/;'[\]]/;
                if(patrn.test($('#company_name_input').val())){
                    $.messager.alert('提示','请不要使用非中文符号!');
                    return true;
                }
                //保留页码查询
                $('#ajaxJSP_company_list_table1').datagrid('reload',{
                    company: $('#company_name_input').val()
                });
            }else{
                $("#ajaxJSP_company_list_table1").datagrid({
                    url:'${baseurl}user/list.action',  //数据来源
                    //冻结列
                    columns:[[
                        {field: 'ck', checkbox: true, width: '30' },  //复选框
                        {field:'userName',title:'账户',width:35,align:'center'},
                        {field:'name',title:'姓名',width:35,align:'center'},
                        {field:'deptName',title:'部门',width:120,align:'center'},
                        {field:'companyName',title:'公司',width:120,align:'center'},
                        {field:'fisproject',title:'驾校用户',width:30
                            ,align:'center',
                            formatter:function(value,row,index){
                                if(value != null){return '是'}
                                else{return '否'}
                            }
                        },
                        {field:'fisDelete',title:'可用',width:30
                            ,align:'center',
                            formatter:function(value,row,index){
                                if(value=='0'){return '是'}
                                else if(value=='1'){return '否'}
                            }
                        },
                        {field:'fisPower',title:'已授权',width:30
                            ,align:'center',
                            formatter:function(value,row,index){
                                if(value=='1'){return '是'}
                                else if(value=='0'){return '否'}
                            }
                        },
                        {field:'fisAdmin',title:'管理员',width:30
                            ,align:'center',
                            formatter:function(value,row,index){
                                if(value=='0'){return '否'}
                                else if(value=='1'){return '是'}
                            }},
                        {field:'ftype',title:'用户类型',width:50
                            ,align:'center',
                            formatter:function(value,row,index){
                                if(value=='10'){return ' 系统用户'}
                                else if(value=='20'){return '职员'}
                                else if(value=='30'){return '客户'}
                                else if(value=='40'){return '供应商'}
                                else if(value=='50'){return '其他用户'}
                                else if(value=='60'){return '认证管理员'}
                                else if(value=='70'){return '审计管理员'}
                            }},
                        {field:'creatId',title:'创建人',width:30,align:'center'},
                        {field:'creatTime',title:'创建时间',width:75,align:'center'},
                        {field:'updateId',title:'修改人',width:30,align:'center'},
                        {field:'updateTime',title:'修改时间',width:75,align:'center'},
                        {field:'remark',title:'备注',width:70,align:'center'}
                    ]],
                    fitColumns:false,//自适应宽度，占满,不能和冻结列同时设置成true
                    fit:true,//充满屏幕
                    striped:true,   //斑马线效果
                    rownumbers:true,            //显示行号
                    idField:'fid',    //主键列
                    singleSelect:false,          //是否单选
                    cache:true,				//关闭缓存
                    method:'post',
                    pagination:true,
                    pageList:[10,20,50,100],//每页行数选择列表
                    pageSize:20, //设置默认初始的每页行数rows
                    pageNumber:1,//设置默认初始的页码page
                    multiSort:true,
                    onClickRow : function(index, row){
                        var users = ""
                        $('input[name=ck]:checked').each(function (i) {
                            if(0==i){
                                users = $(this).parent().parent().next().find('div').html();
                            }else{
                                users += (","+$(this).parent().parent().next().find('div').html());
                            }
                        })
                        $.messager.confirm('提示', '是否将经办人设置为<b>'+users+'</b>?', function (r) {
                            if (!r) {
                                return;
                            }
                            $this.val(users)

                             $('#ajaxJSP_company_window_div1').window('close');
                             $('#company_window_div1').window('close');
                        });
                /*        var  users1 = row.userName
                        if(users!= "") {
                            if(users == "")
                                alert(123)
                            else {
                                users += "," + users1
                            }
                        }
                        else
                            users = users1

                        function deleteRepetion(users){
                            var arrTable = {},
                                arrData = [];
                            for (var i = 0; i < users.split(",").length; i++) {
                                if( !arrTable[ users.split(",")[i] ]){
                                    arrTable[ users.split(",")[i] ] = true;
                                    arrData.push(users.split(",")[i])
                                }
                            }
                            return arrData;
                        }
                        alert(deleteRepetion(users))*/
                    },
                    onLoadSuccess:function(){
                        $('#ajaxJSP_company_list_table1').datagrid('clearSelections');
                    },loadMsg:'请稍候...'
                    //关闭回调

                });
            }
        }


    })
    //公司分页查询
    function ajaxJSP_CompanyPage2(){
        if(allCheckStr($('#name_id').val())||allCheckStr($('#company_id').val())){
            return;
        }
        //保留页码查询
        $('#ajaxJSP_company_list_table1').datagrid('reload',{
            name: $('#name_id').val(),
            company: $('#company_id').val(),
        });
    }
    function allCheckStr(str) {
        var patrn = /[!#@$%^&*()_+<>?:"{},\/;'[\]]/;
        if (patrn.test(str)) {
            $.messager.alert('提示', '请不要使用非中文符号!');
            return true;
        }
    }


</script>
